package com.lingo.mgr.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * 对话记录视图对象 chat_session_record
 *
 * @author ruoyi
 * @date 2023-08-30
 */
@Data
@ExcelIgnoreUnannotated
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ChatSessionRecordVo {

    private static final long serialVersionUID = 1L;

    /**
     * 消息记录id
     */
    private String sessionRecordId;

    /**
     * 聊天消息id
     */
    private String sessionId;

    /**
     * 用户userId
     */
    private Long userId;

    /**
     * 对话提问
     */
    private String messageQuestion;

    /**
     * 对话答案
     */
    private String messageAnswer;

    /**
     * 对话状态 1-生成中 2-成功 3-失败
     */
    private Long answerResult;

    /**
     * 调用ip
     */
    private String createIp;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    private ChatSessionMessageVo messages;

    private String messageStr;

}
